package com.weds.edwx.entity;

import com.dingtalk.api.response.OapiCalendarListResponse;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.weds.core.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import javax.validation.constraints.Digits;
import javax.validation.constraints.Size;

public class WarnSendUserEntity extends BaseEntity implements Serializable {
    /**
     *
     */
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private Long xh;

    /**
     *
     */
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private Long userSerial;

    /**
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(required = true, dataType = "string", example = "2020-02-22 13:14:09", value = "")
    private Date sj;

    /**
     *
     */
    @Size(max = 200)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String glyNo;

    /**
     *
     */
    @Size(max = 20)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String gateBh;

    /**
     *
     */
    @ApiModelProperty(required = true, dataType = "int", example = "-1", value = "")
    private Integer sendType;

    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "门名称")
    private String doorName;

    private Date kssj;
    private Date jssj;
    private String ctDate;

    /**
     */
    private static final long serialVersionUID = 1L;

    private String keys;

    /**
     * This method returns the value of the database column wx_warn_send_user.xh
     *
     * @return the value of wx_warn_send_user.xh
     */
    public Long getXh() {
        return xh;
    }

    /**
     */
    public WarnSendUserEntity withXh(Long xh) {
        this.setXh(xh);
        return this;
    }

    public Date getKssj() {
        return kssj;
    }

    public void setKssj(Date kssj) {
        this.kssj = kssj;
    }

    public Date getJssj() {
        return jssj;
    }

    public void setJssj(Date jssj) {
        this.jssj = jssj;
    }

    public String getCtDate() {
        return ctDate;
    }

    public void setCtDate(String ctDate) {
        this.ctDate = ctDate;
    }

    /**
     * This method sets the value of the database column wx_warn_send_user.xh
     *
     * @param xh the value for wx_warn_send_user.xh
     */
    public void setXh(Long xh) {
        this.xh = xh;
    }

    /**
     * This method returns the value of the database column wx_warn_send_user.user_serial
     *
     * @return the value of wx_warn_send_user.user_serial
     */
    public Long getUserSerial() {
        return userSerial;
    }

    /**
     */
    public WarnSendUserEntity withUserSerial(Long userSerial) {
        this.setUserSerial(userSerial);
        return this;
    }

    /**
     * This method sets the value of the database column wx_warn_send_user.user_serial
     *
     * @param userSerial the value for wx_warn_send_user.user_serial
     */
    public void setUserSerial(Long userSerial) {
        this.userSerial = userSerial;
    }

    /**
     * This method returns the value of the database column wx_warn_send_user.sj
     *
     * @return the value of wx_warn_send_user.sj
     */
    public Date getSj() {
        return sj;
    }

    /**
     */
    public WarnSendUserEntity withSj(Date sj) {
        this.setSj(sj);
        return this;
    }

    /**
     * This method sets the value of the database column wx_warn_send_user.sj
     *
     * @param sj the value for wx_warn_send_user.sj
     */
    public void setSj(Date sj) {
        this.sj = sj;
    }

    /**
     * This method returns the value of the database column wx_warn_send_user.gly_no
     *
     * @return the value of wx_warn_send_user.gly_no
     */
    public String getGlyNo() {
        return glyNo;
    }

    /**
     */
    public WarnSendUserEntity withGlyNo(String glyNo) {
        this.setGlyNo(glyNo);
        return this;
    }

    /**
     * This method sets the value of the database column wx_warn_send_user.gly_no
     *
     * @param glyNo the value for wx_warn_send_user.gly_no
     */
    public void setGlyNo(String glyNo) {
        this.glyNo = glyNo;
    }

    /**
     * This method returns the value of the database column wx_warn_send_user.gate_bh
     *
     * @return the value of wx_warn_send_user.gate_bh
     */
    public String getGateBh() {
        return gateBh;
    }

    /**
     */
    public WarnSendUserEntity withGateBh(String gateBh) {
        this.setGateBh(gateBh);
        return this;
    }

    /**
     * This method sets the value of the database column wx_warn_send_user.gate_bh
     *
     * @param gateBh the value for wx_warn_send_user.gate_bh
     */
    public void setGateBh(String gateBh) {
        this.gateBh = gateBh;
    }

    /**
     * This method returns the value of the database column wx_warn_send_user.send_type
     *
     * @return the value of wx_warn_send_user.send_type
     */
    public Integer getSendType() {
        return sendType;
    }

    /**
     */
    public WarnSendUserEntity withSendType(Integer sendType) {
        this.setSendType(sendType);
        return this;
    }

    /**
     * This method sets the value of the database column wx_warn_send_user.send_type
     *
     * @param sendType the value for wx_warn_send_user.send_type
     */
    public void setSendType(Integer sendType) {
        this.sendType = sendType;
    }

    public String getKeys() {
        return keys;
    }

    public void setKeys(String keys) {
        this.keys = keys;
    }

    public String getDoorName() {
        return doorName;
    }

    public void setDoorName(String doorName) {
        this.doorName = doorName;
    }
}